package com.yuanfeng.job.job;

import com.yuanfeng.job.feign.UserServiceClient;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @param
 * @author Qi
 * @description 删除已注册7天的临时账号
 * @return
 * @date 2023/4/17 16:02
 */

public class DeleteTemporaryAccountJob implements BaseJob {

	@Autowired
	private UserServiceClient userServiceClient;

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		userServiceClient.deleteTemporaryAccount();
	}

}
